//package com.hb.medical_research_system.entity.vo;
//
//import lombok.Data;
//
//@Data
//public class Jjson {
//    private String took;
//    private String timed_out;
//    private _shards _shards;
//    private hits hits;
//
//    @Data
//    public class _shards{
//         private String total;
//         private String successful;
//         private String skipped;
//         private String failed;
//    }
//
//    @Data
//    public class hits{
//        private String total;
//        private String max_score;
//
//        private hits[] hits;
//        private String _shard;
//        private String _node;
//        private String _index;
//        private String _type;
//        private String _id;
//        private String _score;
//        private _source _source;
//        private highlight highlight;
//        private _explanation _explanation;
//    }
//
//    @Data
//    public class _source{
//        private String title;
//        private String name;
//        private String article;
//    }
//
//    @Data
//    public class highlight{
//        private String[] title;
//        private String[] article;
//    }
//
//    @Data
//    public class _explanation{
//        private String value;
//        private String description;
//        private details[] details;
//    }
//
//    @Data
//    public class details{
//        private String value;
//        private String description;
//        private details[] details;
//    }
//
//
//}
package com.hb.medical_research_system.entity.dto;

import lombok.Data;

@Data
public class Jjson {
    private String took;
    private String timed_out;
    private _shards _shards;
    private hits hits;

    @Data
    public class _shards{
        private String total;
        private String successful;
        private String skipped;
        private String failed;
    }

    @Data
    public class hits{
        private String total;
        private String max_score;
        private hit[] hits;
    }

    @Data
    public class hit{
        private String _shard;
        private String _node;
        private String _index;
        private String _type;
        private String _id;
        private String _score;
        private _source _source;
        private highlight highlight;
        private _explanation _explanation;
    }

    @Data
    public class _source{
        private String title;
        private String name;
        private String article;
    }

    @Data
    public class highlight{
        private String[] title;
        private String[] article;
    }

    @Data
    public class _explanation{
        private String value;
        private String description;
        private details[] details;
    }

    @Data
    public class details{
        private String value;
        private String description;
        private details[] details;
    }


}
